package com.wei.czz.common.dto.echarts;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2024-06-21 22:13:27
 * className: Histogram 柱状图数据封装类
 * version: 1.0
 * description:
 */
@Getter
@Setter
@Accessors(chain = true)
public class Histogram<X, D> extends BaseEntity {

    /**
     * 图例列表
     */
    private List<String> legendList;

    /**
     * x轴数据
     */
    @JsonProperty("xAxisList")
    private List<X> xAxisList;

    /**
     * 数据列表
     */
    private List<List<D>> dataList;

}
